package com.lc.railway.http.request;

import com.hjq.http.config.IRequestApi;

/**
 *    author : Android 轮子哥
 *    github : https://github.com/getActivity/AndroidProject
 *    time   : 2019/12/07
 *    desc   : 用户注册
 */
public final class RegisterApi implements IRequestApi {
   private String cnname;	//姓名
	private String  unit;	//单位
	private String job;	//职务
	private String username;	//警号
	private String password	;//密码
    private String passworded;

    public RegisterApi setCnname(String cnname) {
        this.cnname = cnname;
        return this;
    }

    public RegisterApi setUnit(String unit) {
        this.unit = unit;
        return this;
    }

    public RegisterApi setJob(String job) {
        this.job = job;
        return this;
    }

    public RegisterApi setUsername(String username) {
        this.username = username;
        return this;
    }

    public RegisterApi setPassword(String password) {
        this.password = password;
        return this;
    }

    public RegisterApi setPassworded(String passworded) {
        this.passworded = passworded;
        return this;
    }

    @Override
    public String getApi() {
        return "api_login/add";
    }

}